package pCloud.crypto.kpabe;

import java.net.InetSocketAddress;

import pCloud.message.Message;

/**
 * @author ttadinh
 * contains the transformed cipher, to be decrypted by user
 */
public class TransformedCipherMessage extends CipherMessage{	
	int windowIndex;
	public TransformedCipherMessage(int si, byte[] cph, byte[] ep, boolean isSw, int wi, int idx){
		super(si,cph,ep,isSw, idx);
		this.setMessageType(Message.FROM_CLOUD);		
		this.windowIndex = wi;
	}	
	
	public int getWindowIndex(){
		return this.windowIndex;
	}
}
